package com.mine.frame.mylandemo.ui.dialog

import android.app.AlertDialog
import android.content.Context
import android.os.Bundle
import com.mine.frame.mylandemo.R
import kotlinx.android.synthetic.main.dialog_loading.*


/**
 * @Date 2022/2/25
 * Description:
 */
public class LoadingDialog(context: Context) : AlertDialog(context) {
    //private var mView :View = LayoutInflater.from(context).inflate(R.layout.dialog_loading ,null)

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.dialog_loading )
    }

    fun setHint(txt:CharSequence){
        tvHint.text = txt
    }
}